package com.monlyu.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Transient;

import com.monlyu.annotation.Comment;

/*******************************************************************************
 * 
 * <b>功能描述☞</b>栏目稿件<br>
 * 
 * <b>开发公司☞</b>重庆唯尼科技有限公司<br>
 * <b>版权☞</b>本文件归重庆唯尼科技有限公司所有<br>
 * <b>项目名☞</b>news<br>
 * <b>文件路径☞</b>com.monlyu.vo.Progm2GaoJian.java<br>
 * <b>开发日期☞</b>2010-2-9 <br>
 * 
 * @author chendan
 * @since JDK 5
 * @version 1.0.8
 * 
 ******************************************************************************/
@Entity(name = "t_progm2GaoJian")
public class Progm2GaoJian extends BaseVo {
	@Id
	@Column(name = "p_id")
	@Comment(common = "编号")
	private Long id;

	@ManyToOne
	@JoinColumn(name = "p_programming")
	@Comment(common = "编排节目单")
	private Programming programming;

	@Column(name = "p_order", nullable = false)
	@Comment(common = "播出顺序")
	private int order;

	@ManyToOne
	@JoinColumn(name = "p_manuscript")
	@Comment(common = "稿件")
	private Manuscript manuscript;

	// 口播人员，记录人员编号，支持多选，多个用逗号隔开
	@Column(name = "p_kouBo")
	@Comment(common = "口播")
	private String kouBo;

	// 导语人员，记录人员编号，支持多选
	@Column(name = "p_daoYu")
	@Comment(common = "导语")
	private String daoYu;

	// 编后语人员，记录人员编号，支持多选
	@Column(name = "p_bianHouYu")
	@Comment(common = "编后语")
	private String bianHouYu;

	@Column(name = "p_tiYao",length=MAX_VCHAR_MYSQL)
	@Comment(common = "提要")
	private String tiYao;

	@Column(name = "p_jiaoBiao",length=MAX_VCHAR_MYSQL)
	@Comment(common = "角标")
	private String jiaoBiao;

	@Column(name = "p_remark",length=MAX_VCHAR_MYSQL)
	@Comment(common = "备注")
	private String remark;

	// 口播人员姓名，临时属性，用于前台显示
	@Transient
	private String kouBoName;

	// 导语人员姓名，临时属性，用于前台显示
	@Transient
	private String daoYuName;

	// 编后语人员姓名，临时属性，用于前台显示
	@Transient
	private String bianHouYuName;
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Programming getProgramming() {
		return programming;
	}

	public void setProgramming(Programming programming) {
		this.programming = programming;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public Manuscript getManuscript() {
		return manuscript;
	}

	public void setManuscript(Manuscript manuscript) {
		this.manuscript = manuscript;
	}

	public String getKouBo() {
		return kouBo;
	}

	public void setKouBo(String kouBo) {
		this.kouBo = kouBo;
	}

	public String getDaoYu() {
		return daoYu;
	}

	public void setDaoYu(String daoYu) {
		this.daoYu = daoYu;
	}

	public String getBianHouYu() {
		return bianHouYu;
	}

	public void setBianHouYu(String bianHouYu) {
		this.bianHouYu = bianHouYu;
	}

	public String getTiYao() {
		return tiYao;
	}

	public void setTiYao(String tiYao) {
		this.tiYao = tiYao;
	}

	public String getJiaoBiao() {
		return jiaoBiao;
	}

	public void setJiaoBiao(String jiaoBiao) {
		this.jiaoBiao = jiaoBiao;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getKouBoName() {
		return kouBoName;
	}

	public void setKouBoName(String kouBoName) {
		this.kouBoName = kouBoName;
	}

	public String getDaoYuName() {
		return daoYuName;
	}

	public void setDaoYuName(String daoYuName) {
		this.daoYuName = daoYuName;
	}

	public String getBianHouYuName() {
		return bianHouYuName;
	}

	public void setBianHouYuName(String bianHouYuName) {
		this.bianHouYuName = bianHouYuName;
	}

}
